package com.luwanglin.eduservice.entity.subject;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

//for recursion
@Data
public class SubjectNode {
    private String id;
    private String title;
    private List<SubjectNode> children = new ArrayList<>();
}